BACK

CS50 Finance






A mock-trading platform to buy and sell stocks


As part of CS50's web track, I was tasked with building this mock trading platform.
The user has to initially create an account, after which their account will be credited with 10000(imaginary) dollars.
Using this amount, the user can purchase a particular stock listed on the New York Stock Exchange (NYSE), by entering the stock's symbol on the 'buy' page.
The trade is executed at real time prices which are updated by querying IEX's API.
The user can view their portfolio and even sell a particular stock from their holdings, at the current rate.
Tech Stack


HTML5
CSS
JavaScript

Python(Flask)
Jinja2
SQLite3


View code on GitHub